package com.second.system.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.second.common.pojo.Role;
import com.second.system.vo.RoleVo;

import java.util.List;

/**
 * @program: second-education-parent
 * @description:
 * @author: 王子朋
 * @create: 2023-05-24 19:44
 **/

public interface RoleService {
    public List<Role> findAll();

    public List<Role> findByUserId(String userId);

    Integer confirm(String userId, String[] roleIds);


    Page<Role> list(Integer current, Integer pageSize, RoleVo roleVo);
}
